<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title>管理员页面</title>
    <!-- 1. 导入CSS的全局样式 -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <!-- 2. jQuery导入，建议使用1.9以上的版本 -->
    <script src="js/jquery-3.3.1.min.js"></script>
    <!-- 3. 导入bootstrap的js文件 -->
    <script src="js/bootstrap.min.js"></script>
    <script>
        $(function () {
            $.get("findEmp",function (data) {
                var s= "欢迎您，"+data.name;
                $("#name").html(s);
            });
        });
    </script>
</head>
<body>
    <div class="container">
        <div class="masthead">
            <h3 class="text-muted" id="name"></h3>
            <nav>
                <ul class="nav nav-justified">
                    <li id="search" ><a href="checkwork.html" target="main-ifr">查看考勤</a></li>
                    <li><a href="department.html" target="main-ifr">员工信息查询</a></li>
                    <li><a href="Echart.html" target="main-ifr">部门信息统计</a></li>
                    <li><a href="add.html" target="main-ifr">添加用户</a></li>
                    <li><a href="add.html" target="main-ifr">添加部门</a></li>
                    <li><a href="delete.html" target="main-ifr">删除用户</a></li>
                    <li><a href="more.html" target="main-ifr">考勤设置</a></li>
                    <!--<li><a href="setway.html">考勤设置</a></li>-->
                    <li><a href="updatework.html" target="main-ifr">修改考勤设置</a></li>
                    <li><a href="exit">退出登录</a></li>
                    <li class="right"><a href="#">关于我们</a></li>
                </ul>
            </nav>
        </div>
        <div class="row" style="height: 400px;">
            <div class="col-md-12">
                <iframe src="welcome.html" name="main-ifr" style="width: 100%; height: 600px; border: 2px solid blue"></iframe>
            </div>
        </div>
    </div>
</body>
</html>